package tr.helper.view;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tr.helper.view.annotation.Alias;
import tr.helper.view.annotation.View;

/**
 * tr-service
 *
 * @author MrYe
 * @date 2022-01-12 16:02
 */
@View
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TradeItem {

    @Alias(value = "账号", width = 160, br = true)
    private String username;
    private Long userId;
    @Alias(value = "所属", width = 70)
    private String master;
    @Alias(value = "A户口")
    private Long id;
    /**
     * 交易商
     */
    @Alias(value = "交易商", width = 100)
    private String dealer;
    /**
     * A户口金额
     */
    @Alias(value = "A户口金额", width = 100)
    private String balanceA;
    /**
     * B户口保险
     */
    @Alias(value = "B户口保险", width = 100)
    private String balanceB;
    /**
     * 状态
     */
    @Alias(value = "状态", width = 80, br = true)
    private String status;
    /**
     * 交易日期
     */
    @Alias(value = "交易日期", width = 120, br = true)
    private String tradeDate;
    /**
     * A仓盈利
     */
    @Alias(value = "A仓盈利", width = 150, br = true)
    private String gainA;
    /**
     * 托管公司
     */
    @Alias(value = "托管公司", width = 100)
    private String company;
    @Alias(value = "胜", width = 25)
    private String win;
    @Alias(value = "负", width = 25)
    private String lose;
    @Alias(value = "明细", width = 139, br = true)
    private String detail;

}
